<include file="Public:header" />

<div class="listbox">
	<div class="listhead">
		<h3>常规安全检查--待整改名单</h3>
	</div>
	<div class="listmain">
		<table class="list_g_permit_tab1">
			<tbody>
			<tr>
				<td class="td_num">安全检查编号</td>
				<td class="td_time">检查时间</td>
				<td class="td_name">房间</td>
				<td class="td_status">状态</td>
				<td class="td_remark">备注</td>
			</tr>
			</tbody>
		</table>

		<div class="listdiv">
			<ul>

				<foreach name="list" item="l_val" key="l_k">
					<li>
						<a href="{:U('Admin/Check/view',array('id'=>$l_val['id'],'t'=>$l_val['status']))}" target="_blank">
							<span class="list_num">{$l_val.tab_check_id}</span>
							<span class="list_time">{$l_val.check_time|date='Y-m-d',###}</span>
							<span class="list_name">{$l_val.room_name}</span>
							<span class="list_status">
								<if condition="$l_val['status'] eq 1">
									已通过
									<elseif condition="$l_val['status'] eq 2"/>
									已整改
									<elseif condition="$l_val['status'] eq 3"/>
									待整改
								</if>
							</span>
							<span class="list_remark">{$l_val.remark|default="无"}</span>
						</a>
					</li>
				</foreach>
			</ul>
		</div>

	</div>
	<div class="listbottom">
		{$page}
	</div>
</div>

</div>
</div>

</body>
</html>
